﻿module RPG {
    export class Game extends Phaser.Game {
        constructor() {
            super(800, 600, Phaser.AUTO, 'content', null);
            //

            this.state.add('Creater', Creater, false);
            this.state.add('Preloader', Preloader, false);
            this.state.add('MainMenu', MainMenu, false);
            this.state.add('WorldMap', WorldMap, false);

            //Load Levels
            this.state.add('Level1', Level1, false);

            this.state.start('Creater');
        }
    }
}